import { createRouter, createWebHashHistory } from 'vue-router'
// import Home from '../views/Home.vue'
import Login from '../components/Login.vue'
import AppIndex from '../components/home/Appindex.vue'

const routes = [
  {
	path: '/login',
	name: 'Login',
	component: Login
  },
  {
	  path: '/index',
	  name: 'AppIndex',
	  component: AppIndex
  }
]

const router = createRouter({
  history: createWebHashHistory(),
  routes
})

export default router
